import 'package:flutter_swiper_null_safety/flutter_swiper_null_safety.dart';
import 'package:flutter/material.dart';
import '../../models/noteModel.dart';
import 'package:get/get.dart';

class NoteInfoPageState {
  late Rx<Note> note;
  final SwiperController swiperController = SwiperController();
  ScrollController scrollController = ScrollController();
  NoteInfoPageState() {
    ///Initialize variables
    var arg = Get.arguments;
    if (arg == null) return;
    note = (arg as Note).obs;
  }
  dispose() {
    swiperController.dispose();
    scrollController.dispose();
  }
}
